import request from "../utils/request"

export const RecommendSongAPI = () => {
  return request({
    url: "/personalized",
    params: {
      limit: 6
    }
  })
}
// 新歌
export const NewSongAPI = () =>
  request({
    url: "/personalized/newsong",
    params: {
      limit: 10
    }
  })

// 热门评论
export const HotCommentAPI = params => request({
  url: "/comment/hot?id=186016&type=0&limit=10",
  params
})

// 搜索
export const HotSearchAPI = () => request({
  url: "/search/hot"
})

// 搜索最佳匹配
export const SearchAPI = (params) => request({
  url: "/cloudsearch",
  params
})